﻿// -- MVC4WPF
// -- Copyright © 2009 Information Control Corporation
// -- Revision History:
// -- Version 0.9.0.0 First codeplex release  - Stephen Giffin

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EnvDTE;
using Microsoft.VisualStudio.TemplateWizard;
using MVC4WPF.Automation;
using MVC4WPF.Automation.Wizards;
using MVC4WPF.Automation.VisualStudio.Dialog;
using MVC4WPF.Automation.Data;
using System.Windows.Media.Imaging;
using System.Windows.Controls;

namespace MVC4WPF.Automation.VisualStudio.Wizards
{
    public class MVC4WPFPropertyBagWizard : MVC4WPFWizardBase
    {
        #region MVC4WPFWizardBase Members

        /// <summary>
        /// Override method to execute the wizard.
        /// </summary>
        /// <param name="automationObject">The automation coming in by default provided by the system.</param>
        /// <param name="replacementsDictionary">A string/string dictionary that represents the replacement parameters for a template</param>
        /// <param name="runKind">The kind of wizard run</param>
        /// <param name="customParams">Any custom parameters sent in to the template</param>
        public override void ExecuteWizard(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
        {
            //no t4 templates to execute, and no dialogs to show... just throw it in and you're good to go.

            //set up the property bag base name
            replacementsDictionary.Add(FormatDictionaryParameterName(WizardParameters.BASETYPE), MVC4WPFConstants.PropertyBagBaseName);
        }

        #endregion
    }
}
